package modifiers;

/**
 * @author shkstart
 * @date 2022/5/10 - 9:58
 */
public class Order {
    private int methodPrivate;
    public int methodPublic;
    int methodDefault;
    protected int methodProtected;


    private void methodPrivate() {
        methodPrivate = 1;
    }

    public void methodPublic() {
        methodPublic = 2;
    }


    void methodDefault() {
        methodDefault = 3;
    }

    protected void methodProtected() {
        methodProtected = 4;
    }
}
